# Maintainer:
pkgname=py3-bandwidth-sdk
pkgver=3.1.0
pkgrel=1
pkgdesc="python helpers for using bandwidth.com API"
url="https://pypi.python.org/pypi/bandwidth-sdk/"
arch="noarch"
license="MIT"
depends="py3-requests py3-dateutil py3-lxml py3-six"
makedepends="py3-setuptools"
source="bandwidth-sdk-$pkgver.tar.gz::https://github.com/Bandwidth/python-bandwidth/archive/v$pkgver.tar.gz"
builddir="$srcdir/python-bandwidth-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="31c09c709b4f61741f9eabf5a4ec56d3577996b5b3933c51264442cac1bbf95da5f3e5d9e98b914eb06d8897e273ea0863406fb6bf9c65af0ac1cd71f2f06ac1  bandwidth-sdk-3.1.0.tar.gz"
